package com.tanhua.autoconfig.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 读取tanhua-app-server application.yml配置文件的属性类
 */
@Data
@ConfigurationProperties(prefix = "tanhua.oss")//配置文件的前缀
public class OssProperties {

        private String accessKey;
        private String secret;
        private String bucketName;
        private String url; //域名
        private String endpoint;
    }
